﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="jquery.min.js"></script>
    <script>
        $(document).ready(function () {
            $("button").click(function () {
                $("div").animate({ left: '250px' });
            });
        });
    </script>
</head>
<body>
    <button>开始动画</button>
    <div style="background:#98bf21;height:100px;width:100px;position:absolute;">
    </div>
</body>
</html>